<%- content_for :head do -%>
<%= stylesheet_link_tag 'admin' %>
<%- end -%>

<%= render :partial => 'layouts/header' %>

<div id ="admin-menu">
  <% if @controller.controller_name == 'users' %>
    <div class="tab active">メンバー</div>
    <div class="tab inactive"><%= link_to 'チーム', teams_url %></div>
  <% else %>
    <div class="tab inactive"><%= link_to 'メンバー', users_url %></div>
    <div class="tab active">チーム</div>
  <% end %>
</div>

<div id="admin-content">
  <%= yield %>
</div>

<%= render :partial => 'layouts/footer' %>
